package com.ruoyi.web.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.SignInReward;

/**
 * 签到奖励Mapper接口
 *
 * @author jiwei
 * @date 2024-05-12
 */
public interface SignInRewardMapper extends BaseMapper<SignInReward> {
    /**
     * 查询签到奖励
     *
     * @param id 签到奖励主键
     * @return 签到奖励
     */
    public SignInReward selectSignInRewardById(Long id);

    /**
     * 查询签到奖励列表
     *
     * @param signInReward 签到奖励
     * @return 签到奖励集合
     */
    public List<SignInReward> selectSignInRewardList(SignInReward signInReward);

    /**
     * 新增签到奖励
     *
     * @param signInReward 签到奖励
     * @return 结果
     */
    public int insertSignInReward(SignInReward signInReward);

    /**
     * 修改签到奖励
     *
     * @param signInReward 签到奖励
     * @return 结果
     */
    public int updateSignInReward(SignInReward signInReward);

    /**
     * 删除签到奖励
     *
     * @param id 签到奖励主键
     * @return 结果
     */
    public int deleteSignInRewardById(Long id);

    /**
     * 批量删除签到奖励
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSignInRewardByIds(Long[] ids);
}
